
<div class="row">
    <div class="col-md-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">分类管理</h3>

            </div>
            <div class="panel-body">
                <form class="form-inline">

                    <div class="pull-right">
                        <div class="form-group">

                            <input type="search" id="userSearch" class="form-control input-sm" placeholder="根据名称查询分类">
                        </div>
                        <button id="userSearchBtn" class="btn btn-primary" type="button">查询</button>
                    </div>
                </form>
            </div>

            <div class="panel-body">
                <button type="button" onclick="showDetail('','add')" id="addClass" class="btn btn-primary btn-sm">添加分类</button>
                <table id="mainTable" class="table table-striped">

                </table>

            </div>
        </div>
    </div>
</div>

<div id="staffDialog" class="staff-dialog" style="display: none;">
    <div class="col-md-3" id="login-wrapper">
        <div class="panel panel-primary animated flipInY">
            <div class="panel-heading">
                <h3 class="panel-title">增加类别</h3>
                <div class="actions pull-right">
                    <i id="staffDialogClose" class="fa fa-times"></i>
                </div>
            </div>
            <div class="panel-body">
                <form class="form-horizontal" role="form">
                    <div class="form-group">
                        <div class="col-md-12">
                            <input type="text" class="form-control" id="indexs" placeholder="序列">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-12">
                            <input type="text" class="form-control" id="Sname" placeholder="分类名称">
                        </div>
                    </div>

                    <div class="form-group">
                        <!--<div class="col-md-5">-->
                        <!--</div>-->
                        <div class="col-md-12">
                            <button id="btnStaffReset" type="reset" hidden>重置</button>
                            <a id="btnStaffConfirm" class="btn btn-primary btn-block">确定</a>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

<script src="/newshop/offer/classify/classify.js"></script>